<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>OA通信录</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<link href="/ag/zhh/content/css/eventRelate.css" rel="stylesheet" type="text/css" />
 <link type="text/css" href="/ag/css/dialog/jquery.ui.all.css" rel="stylesheet" />
 	<style type="text/css">
		body { font-size: 62.5%;margin-left:0;margin-top:0;margin-right:0; background-color: #dceffd;}
		label { display:block; font-size:15px;font-weight:500;}
		input.text { margin-bottom:12px; width:95%; padding: .4em;height:30px;}
		fieldset { padding:0; border:0; margin-top:25px; }
		h1 { font-size: 1.2em; margin: .6em 0; }
		div#users-contain { width: 350px; margin: 20px 0; }
		div#users-contain table { margin: 1em 0; border-collapse: collapse; width: 100%; }
		div#users-contain table td, div#users-contain table th { border: 1px solid #eee; padding: .6em 10px; text-align: left; }
		.ui-dialog .ui-state-error { padding: .3em; }
		.one{margin-top:-20px;}
		.button { border:none; width:60px;height:32px;font-size:15px;
			margin:1px;
			background: url("/ag/admin/images/bigButton.png")
		
		} 
		.buttondiv{
		float:right;
		}
		.validateTips { border: 0px solid transparent; padding: 0.3em; width:95%;}
	.button {
		border: none;
		width: 60px;
		height: 32px;
		font-weight: bold;
		font-size: 18px;
		background: url("/ag/admin/images/bigButton.png")
	}

	.input {
		height: 28px;
		width: 180px;
		}

	.find {
		font-size: 25px;
		color: #cccc99;
		}
	</style>
		<link rel="stylesheet" type="text/css" href="../zhh/css/utils.css">
		
		
		<!-- 
		<script type="text/javascript" src="/ag/lwc/js/usercontact/userContactValidator.js"></script>
		<script type="text/javascript" src="/ag/lwc/js/usercontact/userContact.js"></script>
		 -->
		<script type="text/javascript" src="../js/jquery-1.4.2.min.js"></script>
		<script src="../jquery-treeview/lib/jquery.cookie.js" type="text/javascript"></script>
		<script type="text/javascript">
  		 	var contextPath = "<%=path%>";
		</script>
		<script type="text/javascript" charset="UTF-8" src="/ag/zhh/js/JsonRpcClient.js"></script>
		<script type="text/javascript" src="../js/jquery.validate.pack.js"></script>
		<script type="text/javascript" src="/ag/js/dialog/jquery.ui.core.js"></script>
		<script type="text/javascript" src="/ag/js/dialog/jquery.ui.widget.js"></script>
		<script type="text/javascript" src="/ag/js/dialog/jquery.ui.mouse.js"></script>
		<script type="text/javascript" src="/ag/js/dialog/jquery.ui.button.js"></script>
		<script type="text/javascript" src="/ag/js/dialog/jquery.ui.draggable.js"></script>
		<script type="text/javascript" src="/ag/js/dialog/jquery.ui.position.js"></script>
		<script type="text/javascript" src="/ag/js/dialog/jquery.ui.resizable.js"></script>
		<script type="text/javascript" src="/ag/js/dialog/jquery.ui.dialog.js"></script>
		<script type="text/javascript" src="/ag/js/dialog/jquery.effects.core.js"></script>
		<script type="text/javascript"src="/ag/css/dialog/jquery.bgiframe-2.1.1.js"></script>	
		<script src="/ag/lwc/js/usercontact/party.js" type="text/javascript"></script>
		<script src="/ag/lwc/js/usercontact/call.js" type="text/javascript"></script>
		<script type="text/javascript" src="/ag/lwc/js/usercontact/contact.js"></script>
		<script type="text/javascript" src="/ag/zhh/js/oa.js"></script>
  </head>
  
  <body>
<div style="font-size:15px;">
	<!-- 部门id -->
		<input type="hidden" value="${dept.udId}" id="deptId">		
		<div  >部门:<span id="bname">${dept.udName}</span></div>
        <div >负责人:<span id="buser" name="${leader}">${leaderName}</span></div> 
        <input id="editLeader" type="button" value="设置负责人">          
</div>
		<!-- 用户列表 -->
    		<div id="result" >
			<table width="99%" border="0" align="center" cellpadding="0"
				cellspacing="0">
				<tr>
					<td>
						<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr>
						<td width="14" height="15" background="/ag/tab/images/tab_05.gif" style="background-repeat:repeat-y;padding-top:-20px"><img src="/ag/tab/images/tab_03.gif" width="14" height="100%" /></td>
						<td background="/ag/tab/images/tab_05.gif" style="background-repeat:repeat-x;"><img src="/ag/tab/images/311.gif" width="16"/>
							<span class="STYLE4">OA通信录</span>							
						</td>
						<td width="120" align="center" background="/ag/tab/images/tab_05.gif" style="background-repeat:repeat-x;padding-top:3px;"></td>
						<td width="14"><img src="/ag/tab/images/tab_07.gif" width="14"/></td></tr>
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="9" background="/ag/tab/images/tab_12.gif">&nbsp;</td>
								<td bgcolor="#f3ffe3">
									<table width="99%" border="0" align="center" cellpadding="0"
										cellspacing="1" bgcolor="#c0de98">
										<tr>
											<td width="8%" height="26" background="/ag/tab/images/tab_14.gif"class="STYLE1">
												<div align="center" class="STYLE2 STYLE1">
													姓名
												</div></td>
											<td width="8%" height="26" background="/ag/tab/images/tab_14.gif"class="STYLE1">
												<div align="center" class="STYLE2 STYLE1">
													固定电话
												</div>
											</td>
											<td width="8%" height="26" background="/ag/tab/images/tab_14.gif"class="STYLE1">
												<div align="center" class="STYLE2 STYLE1">
													手机
												</div>
											</td>
											<td width="8%" height="26" background="/ag/tab/images/tab_14.gif"class="STYLE1">
												<div align="center" class="STYLE2 STYLE1">
													传真
												</div>
											</td>
											<td width="8%" height="26" background="/ag/tab/images/tab_14.gif"class="STYLE1">
												<div align="center" class="STYLE2 STYLE1">
													邮件
												</div>
											</td>
										</tr>
										<c:forEach var='result' items='${oaContactlist}' varStatus='status'>
										<tr style="cursor: pointer;">
											<td height="18" bgcolor="#FFFFFF" class="STYLE2" >
												<div align="left" class="STYLE1 STYLE1">
													<input type="radio" name="radio" value="${result.UId}" >${result.UName}
												</div>
												
											</td>
											<td height="18" bgcolor="#FFFFFF" >
												<div class=" STYLE1">
													${result.UTel} 
												</div>
												
											</td>
											<td height="18" bgcolor="#FFFFFF" >
												<div class=" STYLE1">
													${result.UPhone} 
												</div>
												
											</td>
											<td height="18" bgcolor="#FFFFFF" >
												<div class=" STYLE1">
													${result.UFax} 
												</div>
												
											</td>
											<td height="18" bgcolor="#FFFFFF" >
												<div class=" STYLE1">
													${result.UMail} 
												</div>
												
											</td>
										</tr>
										</c:forEach>														
									</table></td>
								<td width="9" background="/ag/tab/images/tab_16.gif">
									&nbsp;</td>
							</tr>
						</table></td>
				</tr>
				<tr>
					<td >
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="15">
									<img src="/ag/tab/images/tab_20.gif" width="15" />
								</td>
								<td background="/ag/tab/images/tab_21.gif" width="100%" align="right">
								
								</td>
								<td width="14">
									<img src="/ag/tab/images/tab_22.gif" width="14" height="29" />
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</div>
		<div id="msgdialog" title="信息">
			
		</div>
	
<!--
	<div id="edit">
<p class="validateTips"></p>
	<table>
		<tr>
			<td>负责人<input type="hidden" id="leader" value=""/></td>
			<td><input id="leaderName" name="leaderName" type="text"/>
				<select id="myusers"  style="display:none">
						<option value="" class="one" >&nbsp;&nbsp;姓名&nbsp;&nbsp;电话&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;手机&nbsp;&nbsp;</option>		
				</select>			
					
			</td>
	</tr>
	</table>
</div>
  -->

		
</html>




